package com.ajmd.onlineexam.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author ajmd
 * @since 2023/4/21 16:25
 */
@TableName("e_image")
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
//@Component
public class ImagePO implements Serializable {
    //唯一标识
    private String id;
    //所属对象Id
    private String belongId;
    //所属二级对象Id
    private String belongSecondlyId;
    //所属对象类型
    private Integer belongType;
    //末端路径
    private String path;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp createTime;
}
